package cn.walket.cloud.user.remote;

import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value="config-service", fallback = ConfigRemoteImpl.class)
public interface ConfigRemote {

  @RequestMapping(method = RequestMethod.GET, value = "user/port")
  String getPort();
}
